Document Solutions for Imaging
DS.Documents.Imaging.Skia Assembly / GrapeCity.Documents.Imaging.Skia Namespace / GcSkiaBitmap Class / Load Method / Load(String,Nullable<Rectangle>) Method
The file path to the image.
Clipping rectangle of the image to be loaded.

In This Topic
    Load(String,Nullable<Rectangle>) Method
    In This Topic
    Loads the image from a file. JPEG, PNG, WEBP formats are supported.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal filePath As System.String, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle) _
    ) 
    public void Load( 
       System.string filePath,
       System.Nullable<Rectangle> clipRect
    )

    Parameters

    filePath
    The file path to the image.
    clipRect
    Clipping rectangle of the image to be loaded.
    See Also